package com.dz.server.mapper;

import com.dz.server.pojo.ProductAtomic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dz
 * @since 2022-03-25
 */
@Mapper
@Repository
public interface ProductAtomicMapper extends BaseMapper<ProductAtomic> {
    public List<Integer> getAtomicId(Integer pid);
    //删除某一产品的所有原子服务
    public int deleteAtomicByProductId(Integer pid);
}
